package org.apache.struts.register.action;

import com.opensymphony.xwork2.ActionSupport;

import java.util.HashMap;
import java.util.Map;

public class register extends ActionSupport {
    private static final long serialVersionUID = 1L;
    private Map<String,String> sports;

    @Override
    public String execute() {
        sports = new HashMap<String, String>();
        sports.put("a","aa");
        sports.put("b","bb");
        return SUCCESS;
    }

    public Map<String,String> getSports() {
        return sports;
    }
}
